{empty name="menu"}
<tr>
    <td colspan="4" class="center">未查询到相关数据</td>
</tr>
{else /}
{foreach name="menu" item="v"}
<tr>

    <td>{$v.id}</td>
    <td style=padding-left:{if condition='$v.leftpin neq 0'}{$v.leftpin}{/if}px; >{$v.lefthtml}{$v.name}</span></td>
    <td class="center">{if condition="$v.isvalid eq 1"}<span class="label label-yellow">有效</span>{else /}<span class="label label-danger">禁用</span>{/if}</td>
    <td class="center">
        <div class="action-buttons">
            <a href="{:url('admin/organize/deptEdit',array('dept_id'=>$v['id'],'org_id'=>$v['org_id']))}" class="tooltip-success"  title="修改" data-original-title="修改">
                <span class="green">
                    <i class="ace-icon fa fa-pencil-square-o bigger-110"></i> 编辑
                </span>
            </a>
        </div>

    </td>
</tr>
{/foreach}
{/empty}
